#ifndef _HPCR_CONFIG_
#define _HPCR_CONFIG_

#include "hpcr_types.h"
#include "hpcr_list.h"

struct hpcr_config_location
{
    hpcr_list_node_t node;
    char *path;
    char *root;
};

typedef struct hpcr_config_location hpcr_config_location_t;

struct hpcr_config_server
{
    hpcr_uint16_t port;
    char *servername;
    // 静态文件夹位置
    char *root;
    hpcr_list locations;
};

typedef struct hpcr_config_server hpcr_config_server_t;

struct hpcr_config_http
{
};

typedef struct hpcr_config_http hpcr_config_http_t;

#endif